﻿using MiniFox.Web;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace MiniFox.Net.Ftp
{
    /// <summary>
    /// 
    /// </summary>
    public class FtpService : Service
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="setting"></param>
        /// <param name="adapter"></param>
        public FtpService(IServiceSetting setting, FtpAdapter adapter) : base(setting, adapter)
        {
        }
        /// <summary>
        /// 
        /// </summary>
        public override Uri FullURI
        {
            get
            {
                string url = WebUtil.BuildFullUrl(this.WebAdapter.FullHost, this.Url);
                return new Uri(url);
            }
        }
        

    }
}
